package org.study.ratelimiter.value;

import org.aspectj.lang.ProceedingJoinPoint;
import org.study.ratelimiter.annotation.DoRateLimiter;

import java.lang.reflect.Method;

/**
 * 定义限流规则处理
 *
 */
public interface IValveService {
    public Object access(ProceedingJoinPoint jp, Method method, DoRateLimiter doRateLimiter, Object[] args) throws Throwable;
}
